import { RoutesAlias } from '@/router/routesAlias'
import { AppRouteRecord } from '@/types/router'

const meta = {}

const pre = 'shengChanSheZhi-'

export default {
  path: '/shengChanSheZhi',
  name: 'shengChanSheZhi',
  redirect: {
    name: `${pre}banZhuWeiHu`
  },
  meta: { ...meta, title: '生产设置' },
  component: RoutesAlias.Home,
  children: [
    {
      path: 'banZhuWeiHu',
      name: '14100',
      meta: {
        ...meta,
        title: '班组维护'
      }
      // component: () => import('@/pages/shengChanSheZhi/banZhuWeiHu')
    },
    {
      path: 'pingZhongWeiHu',
      name: '14200',
      meta: {
        ...meta,
        title: '品种维护'
      }
      // component: () => import('@/pages/shengChanSheZhi/pingZhongWeiHu')
    },
    {
      path: 'shengChanWeiHu',
      name: '14300',
      meta: {
        ...meta,
        title: '生产维护'
      }
      // component: () => import('@/pages/shengChanSheZhi/shengChanWeiHu')
    },
    {
      path: 'baoBiaoRiQiSheZhi',
      name: '14500',
      meta: {
        ...meta,
        title: '报表日期设定'
      }
      // component: () => import('@/pages/shengChanSheZhi/baoBiaoRiQiSheZhi')
    },
    {
      path: 'dengGuangKongZhi',
      name: '14600',
      meta: {
        ...meta,
        title: '灯光控制'
      }
      // component: () => import('@/pages/shengChanSheZhi/dengGuangKongZhi')
    },
    {
      path: 'jiaoJieBan',
      name: '14400',
      meta: {
        ...meta,
        title: '交接班设置'
      }
      // component: () => import('@/pages/shengChanSheZhi/jiaoJieBan')
    },
    {
      path: 'shengChanJiHua',
      name: '14700',
      meta: {
        ...meta,
        title: '生产计划'
      }
      // component: () => import('@/pages/shengChanSheZhi/shengChanJiHua')
    },
    {
      path: 'kaiTingCheBianJi',
      name: '110000A',
      meta: {
        ...meta,
        title: '开停车编辑'
      }
      // component: () => import('@/pages/shengChanSheZhi/kaiTingCheBianJi')
    }
  ]
} as AppRouteRecord
